Skip to content

Conversation

Noratrieb
Copy link

@Noratrieb Noratrieb commented Jun 7, 2025

opt-level=z or opt-level=s implicitly enables -Zshare-generics=true, which sometimes has a positive and sometimes has a negative impact.

See rust-lang/rust#142164

```
Copy link
Author

@Noratrieb Noratrieb Jun 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there was no trailing newline and my editor added it automatically, which seems fine to me

@Noratrieb Noratrieb marked this pull request as draft June 7, 2025 14:19
@Noratrieb

This comment was marked as resolved.

opt-level=z|s implicitly enables -Zshare-generics=true, which sometimes has a positive and sometimes has a negative impact.

Update README.md
@Noratrieb Noratrieb marked this pull request as ready for review June 7, 2025 14:58
@Noratrieb
Copy link
Author

Although with fat LTO enabled this shouldn't make that much of a difference in practice. But I haven't tested that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant